//      process_detect.c
#include <stdio.h>


void process_list( void )
{
	FILE *current_process;

	system("ps aux>processlist");
	
	current_process = fopen("processlist", "r");

	printf("%d", current_process);
	
	fclose(current_process);
}

int main( void )
{
	process_list();

	return 0;
}
